import fetch from '@/utils/fetch';

export function list(params) {
  return fetch({
    url: '/author/list',
    method: 'get',
    params,
  });
}

export function sync() {
  return fetch({
    url: '/author/sync',
    method: 'post',
  });
}

export function selectList() {
  return fetch({
    url: '/select/authors',
    method: 'get',
  });
}
